﻿@using MVC.Models.Database;
@{
    var data = ViewData["news"] as Information;

}
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>NewWebsite</title>
    <link rel="stylesheet" href="css/index.css">
</head>

<body>
    <!--导航栏-->
    <div class="content">

        <div id="main">
            <h1 class="detail-title">@data.Title</h1>
            <div class="post_info">
                <span>@data.Date</span>　来源: <span>@data.From</span>
            </div>
            <div class="post_content">
                @data.Content            
                <div style="width:100%;text-align:center">
                            <img src="@data.Picture" />
                        </div>
                    </div>

        </div>

        
    </div>
    <script>

    </script>
</body>

</html>